package com.gzdict.common.exception

import com.drake.net.exception.NetException
import okhttp3.Response
import java.io.IOException

/**
 * 描述: 网络 转换处理异常
 * @author: create by shang
 * date:2024/3/8 0008 09
 */
class NetConvertException(
    response: Response? = null,
    var code: String? = null,
    message: String? = null,
    var tag: Any? = null,
    cause: Throwable? = null
) : IOException(message,cause) {
    override fun toString(): String {
        return "NetConvertException(code=$code,message = $message, data=$tag)"
    }
}